package com.zc.web.mapper;

import com.zc.web.domain.AgeGroupStatistic;
import com.zc.web.domain.CategoryStatistic;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * ClassName:StatisticsMapper
 * Description:
 * DateTime: 2025/10/23 10:10
 * Author: zc
 * Version: 1.0
 */
@Mapper
public interface StatisticsMapper {

    /**
     * 统计用户数量
     */
    Integer getUserCount();

    /**
     * 统计重要人生节点数量
     */
    Integer getLifeEventCount();

    /**
     * 统计时间账本数量
     */
    Integer getTimeBookCount();

    /**
     * 统计每日一句数量
     */
    Integer getDailySentenceCount();

    List<AgeGroupStatistic> getUserAgeGroupStatistics();

    List<CategoryStatistic> getTimeBookCategoryStatistics();
}
